package com.lulin.mall.seckill.fegin;

import com.lulin.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 远程调用product商品服务接口
 *
 * @author lulin
 * @date 2023/1/4 17:17
 */
@FeignClient("mall-product")
public interface ProductFeginService {
    /**
     * 远程调用 根据skuId，查询信息
     */
    @RequestMapping("/product/skuinfo/info/{skuId}")
    R info(@PathVariable("skuId") Long skuId);
}
